# File: buildcfg/includecfg.mk
TOP_DIR := ..

# 目录添加
# ---------------------------------------------------------------------------
INCDIRS := $(TOP_DIR)/include/common \
           $(TOP_DIR)/libs/opencv-4.11.0/include

ifeq ($(MODULES_FUNC_TIME),y)
INCDIRS += $(TOP_DIR)/components/func_times
endif

ifeq ($(MODULES_FUNC_DEBUG),y)
INCDIRS += $(TOP_DIR)/components/func_debug
endif

ifeq ($(MODULES_FUNC_VERSION),y)
INCDIRS += $(TOP_DIR)/components/func_version
endif

ifeq ($(MODULES_FUNC_FILE),y)
INCDIRS += $(TOP_DIR)/components/func_file
endif

# 添加 -I 前缀，生成 -Ixxx 选项
# ---------------------------------------------------------------------------
INCLUDES += $(addprefix -I, $(INCDIRS))
